package psn.zjk.spring.cyclicDependencyTest;

import org.aopalliance.aop.Advice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component("b")
public class B implements XX,Advice {

    @Autowired
    public B(XX c) {
        System.out.println("===========AopAdvice constructed");
    }

    @Override
    public void x() {

    }
}
